grub2: Use g_spawn_sync() rather than GSubprocess to avoid SIGCHLD
authorColin Walters <walters@verbum.org>
Wed, 22 Feb 2017 16:33:38 +0000 (11:33 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 27 Feb 2017 21:55:17 +0000 (21:55 +0000)
commit9695c476846684098ad454fcbe06a370fe92d63e
treeac625b34054650d83e03795d2cfa1e09d2e94938
parent36b28cb4d2126320d07029432abd2327b442a126
grub2: Use g_spawn_sync() rather than GSubprocess to avoid SIGCHLD

Due to the async nature of `GSubprocess` it grabs `SIGCHLD` which
affects other software which might be using libostree, such as
QtOTA.

Closes: https://github.com/ostreedev/ostree/issues/696
Closes: #702
Approved by: jlebon
src/libostree/ostree-bootloader-grub2.c